Spread Windows Forms 15.0
GrapeCity.Spreadsheet Assembly / GrapeCity.Spreadsheet Namespace / Worksheet Class / Aggregate Method / Aggregate(AggregateFunction,RangeReference[],AggregateOption) Method


In This Topic
    Aggregate(AggregateFunction,RangeReference[],AggregateOption) Method
    In This Topic
    Syntax
    'Declaration
     
    
    Public Overloads Function Aggregate( _
       ByVal func As AggregateFunction, _
       ByVal rangeReferences() As RangeReference, _
       Optional ByVal option As AggregateOption _
    ) As IPrimitiveValue
    'Usage
     
    
    Dim instance As Worksheet
    Dim func As AggregateFunction
    Dim rangeReferences() As RangeReference
    Dim option As AggregateOption
    Dim value As IPrimitiveValue
     
    value = instance.Aggregate(func, rangeReferences, option)

    Parameters

    func
    rangeReferences
    option
    See Also